/**
 * CarSaleMapperExt
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-06-08  Created
 */
package com.lzy.cloud.goods.mapper;

import com.lzy.cloud.goods.dtos.CarSaleAppDto;
import com.lzy.cloud.goods.dtos.CarSaleDto;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.List;

@Resource
public interface CarSaleMapperExt extends CarSaleMapper {
    List<CarSaleDto> selectList(@Param("param") CarSaleDto dto);

    //假删
    int deleteById(@Param("id") Long id);

    /**
     * app端根据id查询
     * @param id
     * @return
     */
    CarSaleAppDto findById(@Param("id") Long id);
}